import {request} from '@/libs/js/request.js'

export function getRankList(data, option = {method: 'GET'}) {
  return request('/eat/eat/restaurants/restaurantRanking', data, option);
}

export function addScore(data, option = {method: 'GET'}) {
  return request('/eat/eat/restaurants/score/add', data, option);
}

export function getBanners(data, option = {method: 'GET'}) {
  return request('/eat/eat/banner/get', data, option);
}